package com.light.constant;

/**
 * @Author MoonlightL
 * @ClassName: Constant
 * @ProjectName flappy_bird
 * @Description: 常量
 * @DateTime 2023/3/13, 0013 10:51
 */
public class Constant {

    // 窗体宽度
    public static final int WIN_WIDTH = 288;

    // 窗体高度
    public static final int WIN_HEIGHT = 540;

    // 管道口间距
    public static final int PIPE_MARGIN = 64;

    // 重力加速度
    public static final Double g = 9.8;

    // 地面起始 y 坐标
    public static final int LAND_Y = 400;

    // 地面移动步数
    public static final int LAND_MOVE_STEP = 8;

    // 管道移动步数
    public static final int PIPE_MOVE_STEP = 4;
}
